www.gusucode.com > 云网互动影视系统(12套模版和资源联盟) 6.2 > 云网互动影视系统(12套模版和资源联盟) 6.2.4/免费版/Admin/Admin_UsersOnline.asp
<html> <head> <META content=ywnt,云网互动影视管理系统 name=keywords> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>云网互动影视6.0--在线会员管理</title> <LINK href="css/css.css" type=text/css rel=stylesheet> </head> <BODY leftMargin=0 topMargin=0 scroll=yes MARGINHEIGHT="0" MARGINWIDTH="0"> <script language="JavaScript" src="YWNT_TMS_Inc/YWNT_TMS_Common.js"></script> <!--#include file="../Conn.asp" --> <!--#include file="YWNT_TMS_inc/YWNT_TMS_Function.asp" --> <!--#include file="YWNT_TMS_inc/YWNT_TMS_Page.asp" --> <% '=================================================================================================================== '软件名称:云网影视管理系统 'Copyright (C) 2002-2007 ywnt.net All rights reserved. '产品咨询QQ:489234,2813712 '程序版权:云网互动科技有限公司 '程序开发:云网互动科技有限公司 '官方网站:http://www.ywnt.net '郑重声明: ' 1、免费版本请在程序首页保留版权信息,并做上本站LOGO友情连接,商业版本无此要求; ' 2、任何个人或组织不得在授权允许的情况下删除、修改、拷贝本软件及其他副本上一切关于版权的信息; ' 3、云网互动科技有限公司保留此软件的法律追究权利 '=================================================================================================================== Call CheckLogin("UsersOnline") Action=Trim(Request("Action")) Select Case Action Case "Del" call Del() Case "DelAll" call DelAll() End Select sub Del() conn.execute "delete from YWNT_TMS_UsersOnline WHERE ID in ("&NoSqlHack(Request("ID"))&")" Call AddLog("删除在线用户",7) call Admin_ShowErr("<li>删除在线用户成功!</li>","Admin_UsersOnline.asp",1) end sub sub DelAll() conn.execute "delete from YWNT_TMS_UsersOnline" Call AddLog("删除全部在线用户",7) call Admin_ShowErr("<li>删除全部在线用户成功!</li>","Admin_UsersOnline.asp",1) end sub%> <table class=table cellspacing=1 cellpadding=3 width="98%" align=center border=0> <tbody> <tr> <td width="5%" align="center" class=xingmu>ID</td> <td align="center" class=xingmu>会员名称</td> <td width="15%" align="center" class=xingmu>IP</td> <td width="15%" align="center" class=xingmu>所属会员组</td> <td width="18%" align="center" class=xingmu>登陆时间</td> <td width="10%" colspan="2" align="center" class=xingmu>操作</td> </tr> <form name="forms" action="Admin_UsersOnline.asp" method="post"> <%Dim int_RPP int_RPP=GetConfig("PageNumber") '设置每页显示数目 Set Rs = server.CreateObject(YWNT_TMS_RS) sql="Select * from YWNT_TMS_UsersOnline Order by ID desc" Rs.open sql,Conn,1,1 if Rs.eof then Response.Write"<TR class=""hback""><TD colspan=""7"" class=""hback"" height=""40"">没有记录。</TD></TR>" else Rs.PageSize=int_RPP cPageNo=NoSqlHack(Request.QueryString("Page")) If cPageNo="" Then cPageNo = 1 If not isnumeric(cPageNo) Then cPageNo = 1 cPageNo = Clng(cPageNo) If cPageNo>Rs.PageCount Then cPageNo=Rs.PageCount If cPageNo<=0 Then cPageNo=1 Rs.AbsolutePage=cPageNo for i=1 to int_RPP if Rs.eof Then exit For %> <tr> <td height=32 align="center" class="hback"><%=RS("ID")%></td> <td class="hback"><%=RS("UsersName")%></td> <td align="center" class="hback"><%=RS("UsersIP")%></td> <td align="center" class="hback"><%=UsersGroup(RS("UsersGroup"))%></td> <td align="center" class="hback"><%=RS("LoginDate")%></td> <td align="center" class="hback"><a href="Admin_UsersOnline.asp?Action=Del&ID=<%=RS("ID")%>">删除</a></td> <td width="3%" align="center" class="hback"><input name="ID" type="checkbox" id="ID" value="<% = RS("ID")%>"></td> </tr> <%Rs.MoveNext next end if%> <tr align="right"> <td height=32 colspan="7" class="hback"> <input name="Action" type="hidden" id="Action"> <input type="checkbox" name="chkall" value="checkbox" onClick="CheckAll(document.forms.chkall.checked);"> 选择所有 <input type="submit" name="Submit" value="删除" onClick="document.forms.Action.value='Del';"> <input type="button" name="Submit" value="删除全部在线会员" onClick="document.forms.Action.value='DelAll';{if(confirm('确定删除全部在线会员吗?')){this.document.forms.submit();return true;}return false;}"></td> </tr> </form> </tbody> </table> <%call connclose()%> </BODY></HTML>